<template>
  <div id="app">
    <router-view>路由</router-view>
  </div>
</template>

<script>
import { outNouseFun } from '@/utils/testTreeShaking.js'

export default {
  name: 'App',
  data() {
    return {}
  },
  computed: {},
  created() {
    // 设置 sessionStorage
    sessionStorage.setItem('test', JSON.stringify({
      key: 'test',
      key2: 'test2',
    }))
    // 设置 localStorage
    localStorage.setItem('test', JSON.stringify({
      key: 'test',
      key2: 'test2',
    }))
    outNouseFun(10)
    console.log('App.vue created');
  },
  mounted() {},
}
</script>

<style></style>
